

package com.hazelcast.internal.nio.ascii;

import com.hazelcast.internal.server.ServerConnection;

/**
 * This interface is a text protocols policy enforcement point. It checks incoming command lines and validates if the command
 * can be processed. If the command is unknown or not allowed the connection is closed.
 */
interface TextProtocolFilter {
    void filterConnection(String commandLine, ServerConnection connection);
}
